# Desktopd MUA (Currently in beta)

This is __a *new* MUA backend for PHP programs__.
It is a part of [Desktopd](https://notabug.org/desktopd/desktopd),
a daemon framework in PHP for *trivial desktop administration*.

Note the only fully-supported character encoding is UTF-8. All internal data
and intermediate results are in UTF-8 (or its strict subset US-ASCII).

All the source code files must be in UTF-8 (as always the case with any other
Desktopd codes).


## What is special

* Developed with a clear design goal of providing an **MUA backend** in PHP.
* Since it is a backend, no UI or I18N codes are included.
* Supports basic features as an MUA implementation. **(Can receive emails.)**
* Clean design with only client-side code included.
* You will need an MSA to send emails, and a POP3 server to receive ones.
* Acts like any other email clients, such as Mozilla Thunderbird or Evolution.


## Features

* Cleaner than [PHPMailer](https://github.com/PHPMailer/PHPMailer)!
* Namespaced, requires PHP 5.3.x+
* Simple and small codebase (not too many options, no huge classes)
* Receive messages with POP3
* Send messages with SMTP submission (an external MSA required)
* Full S/MIME encrypt/sign/decrypt/verify support
* GnuPG support coming
* UTF-8-centric design, no headaches
* TLS with certificate pinning / forward security if possible
* Send/receive complex nested multipart messages
* Multiple TO/CC/BCCs


## LICENSE
HTTPSEverywhere for Desktopd
Copyright (C) 2015  Desktopd Developer(s)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

<https://www.gnu.org/licenses/agpl.html>


